//console.log("background.js")

//console.log("background.js")
/*
chrome.bookmarks.onCreated.addListener(function(){
    console.log("Bookmark created");
});


chrome.runtime.sendMessage({action: "createBookmark", url: "https://www.example.com"}, function(response) {
  console.log(response);
});
*/

/*function getBookmarkTreeAA(callback) {
    alert("getBookmarkTree");
    chrome.bookmarks.getTree(function(bookmarkTreeNodes) {
        callback(bookmarkTreeNodes);
    });
}
 */


/*
chrome.runtime.sendMessage({action: "createBookmark", url: "https://www.example.com"}, function(response) {
  console.log(response);
});
*/

/*
chrome.runtime.onInstalled.addListener(function (details) {
    if (details.reason === 'install') {
        console.log('扩展程序已安装');
    } else if (details.reason === 'update') {
        console.log('扩展程序已更新');
    }
});
*/